package com.wisdytech.ccdserver.matchwarning.api;

import com.wisdytech.ccdserver.matchwarning.model.WarningMesSandstone;
import com.wisdytech.ccdserver.matchwarning.vo.WarningEquipmentVo;
import com.wisdytech.common.bean.Filter;
import com.wisdytech.common.bean.MultiResultResponse;
import com.wisdytech.common.bean.UniqueResultResponse;

import java.util.List;

/**
 * @author sunjinxin
 * @date 2024/5/20
 */
public interface ICcdWarningMatchMngService {

    MultiResultResponse getWarningEquipmentList(Filter filter) throws Exception;

    MultiResultResponse getWarningMesSandstoneList(Filter filter) throws Exception;

    MultiResultResponse getWarningMesProductionList(Filter filter) throws Exception;

    MultiResultResponse getWarningMatchList(Filter filter) throws Exception;

    MultiResultResponse getWarningSandstoneImageList(Filter filter) throws Exception;

    UniqueResultResponse<Boolean> saveOrUpdateWarningMesSandstone(WarningMesSandstone warningMesSandstone);

    UniqueResultResponse<Boolean> saveOrUpdateWarningEquipment(WarningEquipmentVo warningEquipmentVo);

    UniqueResultResponse<Boolean> countMatch(Filter filter) throws Exception;

}
